home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2123 < prev    next >
Encoding:
Text File  |  1996-08-05  |  3.8 KB  |  83 lines

  1. Newsgroups: comp.lang.c
  2. Path: mxsld2.pd.infn.it!LORETI
  3. From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
  4. Subject: Re: Stupid Question: What does "foo" stand for?
  5. X-Nntp-Posting-Host: mxsld2.pd.infn.it
  6. Message-ID: <DLF4uu.BHA@news.cern.ch>
  7. Sender: news@news.cern.ch (USENET News System)
  8. Reply-To: loreti@mxsld2.pd.infn.it
  9. Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
  10. References: <DLA6o4.8s0@bcstec.ca.boeing.com>
  11. Date: Fri, 19 Jan 1996 07:59:16 GMT
  12.  
  13. In article <DLA6o4.8s0@bcstec.ca.boeing.com>, Just Curious writes:
  14. >Does anyone know what the generic function name "foo" stands for?
  15.  
  16. From the 'jargon file', prep.ai.mit.edu:pub/gnu/jarg320.txt.gz:
  17.  
  18. :foo: /foo/  1. interj. Term of disgust.  2. Used very
  19.    generally as a sample name for absolutely anything, esp. programs
  20.    and files (esp. scratch files).  3. First on the standard list of
  21.    {metasyntactic variable}s used in syntax examples.  See also
  22.    {bar}, {baz}, {qux}, {quux}, {corge}, {grault},
  23.    {garply}, {waldo}, {fred}, {plugh}, {xyzzy}, {thud}.
  24.  
  25.    The etymology of hackish `foo' is obscure.  When used in
  26.    connection with `bar' it is generally traced to the WWII-era Army
  27.    slang acronym FUBAR (`Fucked Up Beyond All Repair'), later
  28.    bowdlerized to {foobar}.  (See also {FUBAR}).
  29.  
  30.    However, the use of the word `foo' itself has more complicated
  31.    antecedents, including a long history in comic strips and cartoons.
  32.    The old "Smokey Stover" comic strips by Bill Holman often
  33.    included the word `FOO', in particular on license plates of cars;
  34.    allegedly, `FOO' and `BAR' also occurred in Walt Kelly's
  35.    "Pogo" strips.  In the 1938 cartoon "The Daffy Doc", a very
  36.    early version of Daffy Duck holds up a sign saying "SILENCE IS
  37.    FOO!"; oddly, this seems to refer to some approving or positive
  38.    affirmative use of foo.  It has been suggested that this might be
  39.    related to the Chinese word `fu' (sometimes transliterated
  40.    `foo'), which can mean "happiness" when spoken with the proper
  41.    tone (the lion-dog guardians flanking the steps of many Chinese
  42.    restaurants are properly called "fu dogs").
  43.  
  44.    Paul Dickson's excellent book "Words" (Dell, 1982, ISBN
  45.    0-440-52260-7) traces "Foo" to an unspecified British naval
  46.    magazine in 1946, quoting as follows: "Mr. Foo is a mysterious
  47.    Second World War product, gifted with bitter omniscience and
  48.    sarcasm."
  49.  
  50.    Earlier versions of this entry suggested the possibility that
  51.    hacker usage actually sprang from "FOO, Lampoons and Parody",
  52.    the title of a comic book first issued in September 1958, a joint
  53.    project of Charles and Robert Crumb.  Though Robert Crumb (then in
  54.    his mid-teens) later became one of the most important and
  55.    influential artists in underground comics, this venture was hardly
  56.    a success; indeed, the brothers later burned most of the existing
  57.    copies in disgust.  The title FOO was featured in large letters on
  58.    the front cover.  However, very few copies of this comic actually
  59.    circulated, and students of Crumb's `oeuvre' have established
  60.    that this title was a reference to the earlier Smokey Stover
  61.    comics.
  62.  
  63.    An old-time member reports that in the 1959 "Dictionary of the
  64.    TMRC Language", compiled at {TMRC} there was an entry that went
  65.    something like this:
  66.  
  67.      FOO: The first syllable of the sacred chant phrase "FOO MANE
  68.      PADME HUM."  Our first obligation is to keep the foo counters
  69.      turning.
  70.  
  71.    For more about the legendary foo counters, see {TMRC}.  Almost
  72.    the entire staff of what became the MIT AI LAB was involved with
  73.    TMRC, and probably picked the word up there.
  74.  
  75.    Very probably, hackish `foo' had no single origin and derives
  76.    through all these channels from Yiddish `feh' and/or English
  77.    `fooey'.
  78.  
  79. Hope that helps...
  80. --
  81. Maurizio Loreti                       http://mvxpd5.pd.infn.it/wwwcdf/mlo.html
  82. Un. of Padova, Dept. of Physics - Padova, Italy          loreti@padova.infn.it
  83.